﻿using System.ComponentModel.DataAnnotations;

namespace test.Model
{
    public class UserModel
    {
        public int UserId { get; set; }
        public string UserName { get; set; }
        public string UserEmail { get; set; }
        public string UserPhone { get; set; }

        // 导航属性（用户-角色中间表）
        public ICollection<UserRoleModel> UserRoles { get; set; }
    }
}
